import Main from '@/views/Main'

const baseRouter = {
  path: '/base',
  component: Main,
  redirect: '/base/Warehouse',
  name: 'Base',
  meta: {
    title: 'Base'
  },
  children: [
    {
      path: 'Warehouse',
      component: () => import('@/views/base/Warehouse'),
      name: 'base',
      meta: { title: 'base' }
    },
    {
      path: 'shelve',
      component: () => import('@/views/base/Shelve'),
      name: 'Shelve',
      meta: { title: 'Shelve' }
    },
    {
      path: 'product',
      component: () => import('@/views/base/Product'),
      name: 'Product',
      meta: { title: 'Product' }
    },
    {
      path: 'productType',
      component: () => import('@/views/base/ProductType'),
      name: 'ProductType',
      meta: { title: 'ProductType' }
    },
    {
      path: 'stackerParam',
      component: () => import('@/views/base/StackerParam'),
      name: 'StackerParam',
      meta: { title: 'StackerParam' }
    }
  ]
}
export default baseRouter
